package com.entitymapper.field;

import java.util.Date;

import com.entitymapper.driver.Driver;

/**
 * 数据集提供对数据结构读写
 * @author hhf
 */
public interface ResultSet {
	
	public int getInt(String name);
	
	public String getString(String name);
	
	public long getLong(String name);
	
	public Date getDate(String name);
	
	public void setValue(String fieldName,Object fieldValue);
	
	public void setDate(String fieldName,Date time);
	
	public void setDriver(Driver driver);
}